package lab2.multiple;

public class WeatherData 
{
	public String TimeFrom;
	public String TimeTo;
	public String WindDirection;
	public String WindSpeed;
	public String Temperature;
	
	public WeatherData(String a_timeFrom, String a_timeTo, String a_windDirection, String a_windSpeed, String a_temperature)
	{
		TimeFrom = a_timeFrom;
		TimeTo = a_timeTo;
		WindDirection = a_windDirection;
		WindSpeed = a_windSpeed;
		Temperature = a_temperature;
	}
	
	@Override
	public String toString() {
		
		String ret = "Timeperiod: " + TimeFrom + " to " + TimeTo + "\nWindDirection: " + WindDirection + "\nWindspeed " + WindSpeed + "mps" + "\nTemperature " + Temperature + "c+\n";
		
		return ret;
	}
}
